package com.ytjj.qmyx.admin.service.imService;

import com.ytjj.common.api.CommonPage;
import com.ytjj.qmyx.admin.model.ImIssueDescribe;
import com.ytjj.qmyx.admin.model.request.ImIssueDescribeReq;
import com.ytjj.qmyx.admin.model.response.im.ImIssueDescribeResponse;
import com.ytjj.qmyx.admin.model.vo.ImIssueDescribeVO;
import org.apache.ibatis.annotations.Param;

public interface ImIssueDesscribeService {

    /**
     * 查询问题描述列表信息
     * 综合查询（标准问题、相似问题、标准答案）
     * @param imIssueDescribeReq
     * @return
     */
    CommonPage<ImIssueDescribeVO> describeList(ImIssueDescribeReq imIssueDescribeReq);

    /**
     * 新增问题描述信息
     * @param imIssueDescribeResponse
     * @return
     */
    int insertDescribe(ImIssueDescribeResponse imIssueDescribeResponse);

    /**
     * 修改问题描述信息
     * @param imIssueDescribeResponse
     * @return
     */
    int updateDescribe(ImIssueDescribeResponse imIssueDescribeResponse);

    /**
     * 问题描述
     * 逻辑删除
     * @param id
     * @return
     */
    int deleteDescribe(Integer id);

    /**
     * 按问题ID查询问题描述信息
     * @param id
     * @return
     */
    ImIssueDescribeResponse selectDescribe(Integer id);

    /**
     * 修改是否推荐
     * @param imIssueDescribe
     * @return
     */
    int updateDescribeStates(ImIssueDescribe imIssueDescribe);
}
